package com.item.service;

import com.item.dao.UserStudyStatusMapper;
import com.item.dao.model.UserStudyStatus;
import com.item.dao.model.UserStudyStatusExample;
import java.util.List;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserStudyStatusService {
    @Autowired
    private UserStudyStatusMapper userStudyStatusMapper;

    private static final Logger logger = Logger.getLogger(UserStudyStatusService.class);

    public int countByExample(UserStudyStatusExample example) {
        return this.userStudyStatusMapper.countByExample(example);
    }

    public UserStudyStatus selectByPrimaryKey(String userid) {
        return this.userStudyStatusMapper.selectByPrimaryKey(userid);
    }

    public List<UserStudyStatus> selectByExample(UserStudyStatusExample example) {
        return this.userStudyStatusMapper.selectByExample(example);
    }

    public int deleteByPrimaryKey(String userid) {
        return this.userStudyStatusMapper.deleteByPrimaryKey(userid);
    }

    public int updateByPrimaryKeySelective(UserStudyStatus record) {
        return this.userStudyStatusMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(UserStudyStatus record) {
        return this.userStudyStatusMapper.updateByPrimaryKey(record);
    }

    public int deleteByExample(UserStudyStatusExample example) {
        return this.userStudyStatusMapper.deleteByExample(example);
    }

    public int updateByExampleSelective(UserStudyStatus record, UserStudyStatusExample example) {
        return this.userStudyStatusMapper.updateByExampleSelective(record, example);
    }

    public int updateByExample(UserStudyStatus record, UserStudyStatusExample example) {
        return this.userStudyStatusMapper.updateByExample(record, example);
    }

    public int insert(UserStudyStatus record) {
        return this.userStudyStatusMapper.insert(record);
    }

    public int insertSelective(UserStudyStatus record) {
        return this.userStudyStatusMapper.insertSelective(record);
    }
}